package me.spring.cloud.components.starter.swagger.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author luffy
 * @date 2018-9-5
 **/
@Data
@ConfigurationProperties(prefix = SwaggerProperties.prefix)
public class SwaggerProperties {

  public final static String prefix = "swagger";

  /** 是否开启swagger */
  private boolean enable = false;
  /** swagger 标题 */
  private String title;
  /** swagger 描述 */
  private String description;
  /** swagger 版本 */
  private String version;
  /** api 认证auth */
  private String apiName;
  /** api 认证auth key*/
  private String apiKeyName;
  /** swagger 服务组url */
  private String termsOfServiceUrl;

}
